/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package id3;

import java.util.ArrayList;

/**
 *
 * @author SONY VAIO
 */
public class Record {

    public ArrayList<Attribute> attributes;

    public ArrayList<Attribute> getAttribute() {
        return attributes;
    }

    public void setAttribute(ArrayList<Attribute> attribute) {
        this.attributes = attribute;
    }

    public void PrintRecord() {
        for (int i = 0; i < attributes.size(); ++i) {
            System.out.print(attributes.get(i).name + " = " + attributes.get(i).value + " ");
        }
        System.out.println();
    }
}
